package com.zhongfu.ai.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * agent任务表
 * </p>
 *
 * @author tengyd
 * @since 2025-10-20
 */
@Getter
@Setter
@ToString
@TableName("ai_agent_task")
public class AiAgentTask implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * agent_id
     */
    private String agentId;

    /**
     * 任务名称
     */
    private String taskName;

    /**
     * 任务描述
     */
    private String description;

    /**
     * cron表达式
     */
    private String cronExpression;

    /**
     * 入参任务配置(json格式)
     */
    private String taskParam;

    /**
     * 状态：0-无效 1-有效
     */
    private String status;

    private LocalDateTime createTime;

    private LocalDateTime updateTime;
}
